package com.kecheng.servermonitor.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@ConfigurationProperties(prefix = "monitor")
@Data
public class MonitorProperties {
    private NacosConfig nacos;
    private String clientId;
    private String reportUrl;
    private String reportUrlFront;
    @Data
    public static class NacosConfig {
        private String server;
        private String namespace;
        private List<String> services;
    }
}
